package com.zzyl.nursing.task;

import com.zzyl.nursing.domain.Contract;
import lombok.extern.slf4j.Slf4j;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;
@Slf4j
@Component("ContractValid")
public class ContractValid {

//@Scheduled(cron =" 0 0 1 * *?")
    public void check() {
    System.out.println("开始检查合同状态");
    }



}
